/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:UserRoleQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for UserRole 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class UserRoleQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 用户角色关联表标识
     */
    private String userRoleId;    
    private List<String> userRoleId_list;
    private String userRoleId_notnull = "N";
    private String userRoleId_notequal;
    private boolean userRoleId_like;
    
    /**
     * 用户标识
     */
    private String userId;    
    private List<String> userId_list;
    private String userId_notnull = "N";
    private String userId_notequal;
    private boolean userId_like;
    
    /**
     * 角色表标识
     */
    private String roleId;    
    private List<String> roleId_list;
    private String roleId_notnull = "N";
    private String roleId_notequal;
    private boolean roleId_like;
    
    public String getUserRoleId() {
        return userRoleId;
    }
    
    public void setUserRoleId(String userRoleId) {
        this.userRoleId = userRoleId;
    }
    public List<String> getUserRoleId_list() {
        return userRoleId_list;
    }
    
    public void setUserRoleId_list(List<String> userRoleId_list) {
        this.userRoleId_list = userRoleId_list;
    }
    public String getUserRoleId_notequal() {
        return userRoleId_notequal;
    }
    
    public void setUserRoleId_notequal(String userRoleId_notequal) {
        this.userRoleId_notequal = userRoleId_notequal;
    }
    public String getUserRoleId_notnull() {
        return userRoleId_notnull;
    }
    
    public void setUserRoleId_notnull(String userRoleId_notnull) {
        this.userRoleId_notnull = userRoleId_notnull;
    }
    
    public boolean isUserRoleId_like() {
        return userRoleId_like;
    }
    
    public void setUserRoleId_like(boolean userRoleId_like) {
        this.userRoleId_like = userRoleId_like;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public List<String> getUserId_list() {
        return userId_list;
    }
    
    public void setUserId_list(List<String> userId_list) {
        this.userId_list = userId_list;
    }
    public String getUserId_notequal() {
        return userId_notequal;
    }
    
    public void setUserId_notequal(String userId_notequal) {
        this.userId_notequal = userId_notequal;
    }
    public String getUserId_notnull() {
        return userId_notnull;
    }
    
    public void setUserId_notnull(String userId_notnull) {
        this.userId_notnull = userId_notnull;
    }
    
    public boolean isUserId_like() {
        return userId_like;
    }
    
    public void setUserId_like(boolean userId_like) {
        this.userId_like = userId_like;
    }
    
    public String getRoleId() {
        return roleId;
    }
    
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public List<String> getRoleId_list() {
        return roleId_list;
    }
    
    public void setRoleId_list(List<String> roleId_list) {
        this.roleId_list = roleId_list;
    }
    public String getRoleId_notequal() {
        return roleId_notequal;
    }
    
    public void setRoleId_notequal(String roleId_notequal) {
        this.roleId_notequal = roleId_notequal;
    }
    public String getRoleId_notnull() {
        return roleId_notnull;
    }
    
    public void setRoleId_notnull(String roleId_notnull) {
        this.roleId_notnull = roleId_notnull;
    }
    
    public boolean isRoleId_like() {
        return roleId_like;
    }
    
    public void setRoleId_like(boolean roleId_like) {
        this.roleId_like = roleId_like;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.userRoleId != null){
		   	 	toString += (this.userRoleId+",");
		   	 }
		  	 if(this.userId != null){
		   	 	toString += (this.userId+",");
		   	 }
		  	 if(this.roleId != null){
		   	 	toString += (this.roleId+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.userRoleId != null){
		   		inputDescription += (this.userRoleId+" : 用户角色关联表标识,");
		   }
		   if(this.userId != null){
		   		inputDescription += (this.userId+" : 用户标识,");
		   }
		   if(this.roleId != null){
		   		inputDescription += (this.roleId+" : 角色表标识,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
